import javax.swing.*;

public class QuestWindow extends JTextArea {

	public void Refresh(Player a) {
		setText("");
		append("Current Quests:\n\n");
		for (Quest i : a.getQuests()) {
			append(i.getTitle());
			if (i.checkComplete() == true) {
				append(" (Complete)\n");
			} else {
				append("\n");
			}
		}	
	}
	
}
